home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DTP / DTP_TEX / 2848E.ZIP / DVI2HERC.ARC / DVI2HERC.DOC next >
Text File  |  1988-09-19  |  3KB  |  89 lines

  1. Preliminary Documentation
  2.  
  3. DVI2HERC - A .dvi previewer for Hercules Graphics Cards
  4.  
  5. This is a brief description of (and user's guide to)
  6. DVI2HERC, a program intended for IBM-PC compatible computers
  7. having a Hercules graphics card and standard monochrome
  8. monitor.
  9.  
  10. DVI2HERC is part of the DosTeX package and is distributed
  11. with a set of .pk fonts analogous to those intended for
  12. the Epson .dvi driver.  The motivation for creating DVI2HERC
  13. is that the Epson driver is rather slow, taking over
  14. 3 minutes per page processing time.  DVI2HERC is much faster,
  15. processing a page of dense text in less than 1/10 the time.
  16.  
  17. DVI2HERC normally uses the same .pk font raster files as the
  18. Epson printer driver DVIEPS.  A subsampling process converts
  19. the high resolution fonts for display using the Hercules card.
  20. PK files at the Hercules resolution may also be directly used
  21. (see the -s option below).
  22.  
  23. DVI2HERC looks for .pk font rasters in subdirectories under
  24. a given path.  The default path is "d:\tex\fonts\pk".  It may
  25. be changed by setting an environment variable FONTDIR. For
  26. example,
  27.  
  28.     SET FONTDIR = C:\FONTS\PK\
  29.  
  30. will cause DVI2HERC to try to open file C:\FONTS\PK\240\CMR10.PK
  31. when cmr10 at normal (240 dpi, subsampled down to 120dpi) 
  32. magnification is required. When generating screen resolution fonts
  33. for DVI2HERC, horizontal dpi should be 120, vertical 72.
  34. It is currently a fatal error to have a missing .pk file.  The 
  35. default fonts (240 dpi only) are distributed in .ARC format and should be
  36. automatically installed by the INSTALL program.  Screen resolution fonts
  37. are not currently distributed.  You will need a copy of Metafont to 
  38. build these.
  39.  
  40. Options - The following are command line options (%s indicates a string,
  41. %d an integer, %f a floating point number):
  42.  
  43. -a %s  (Override the default and FONTDIR paths for PK files)
  44. -b     (No bell)
  45. -f %d  (First page)
  46. -h %f  (Horizontal Pan Factor, 0.0 < %f < 8.0, 2.0 default)
  47. -p     (Don't preload fonts)
  48. -r     (Reverse Order Processing of Pages)
  49. -s     (Use Screen Resolution fonts, Default is Epson fonts)
  50. -t %d  (Last page)
  51. -x %d  (Look at a single page)
  52.  
  53. Since the Hercules card has such low vertical resolution, it is not possible
  54. to view an area 8.5" x 11" all at once.  Total pixels are 720 x 348, which 
  55. works out (roughly) to a 6" x 4.5" viewing area which may be moved over the
  56. document.  Note this requires 3 passes to view the length of an 11" tall page.
  57. Pass 0 is the top of the page.  Complete viewing of documents longer 
  58. than 13.5" is not possible.  
  59.  
  60. The left margin of the viewing area starts off at 0, but may be increased to
  61. any value less than 8.0 inches through using the -h command line option.
  62. Once viewing a page, there are several commands:
  63.  
  64. <BACKSPACE> : Go back a page if possible (pass set to 0, or top of page)
  65. <SPACE>, 
  66. Down Arrow  : Next pass (new page if needed)
  67. <ENTER>     : Next page (pass 0)
  68. Up Arrow    : Previous pass (no page change)
  69. Right Arrow : Set left margin to horizontal pan factor (inches)
  70. Left Arrow  : Set left margin to 0
  71. q,Q,^C      : Quit
  72.  
  73.  
  74. Send questions, comments and other feedback to:
  75.  
  76. Electronetics, Inc.
  77. c/o Gary Beihl
  78. 119 Jackrabbit Run
  79. Round Rock, TX 78664
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.